package com.qxzn.app.bean;

import java.util.List;

public class BindRobotUserBean {
    /**
     * code : 200
     * msg : 成功
     * data : [{"id":30,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","username":"hsq2","roles":"1","record_time":1558612287443,"auth_time":1558612470401},{"id":31,"device_id":"9ac019acab486ad7db721f2b6f1b94a8","username":"hsq3","roles":"-1","record_time":1558612530673,"auth_time":null}]
     */

    private int code;
    private String msg;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * id : 30
         * device_id : 9ac019acab486ad7db721f2b6f1b94a8
         * username : hsq2
         * roles : 1
         * record_time : 1558612287443
         * auth_time : 1558612470401
         */

        private long id;
        private String device_id;
        private String username;
        private String headportrait;
        private String roles;
        private long record_time;
        private long auth_time;

        public long getId() {
            return id;
        }

        public void setId(long id) {
            this.id = id;
        }

        public String getDevice_id() {
            return device_id;
        }

        public void setDevice_id(String device_id) {
            this.device_id = device_id;
        }

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getRoles() {
            return roles;
        }

        public void setRoles(String roles) {
            this.roles = roles;
        }

        public long getRecord_time() {
            return record_time;
        }

        public void setRecord_time(long record_time) {
            this.record_time = record_time;
        }

        public long getAuth_time() {
            return auth_time;
        }

        public void setAuth_time(long auth_time) {
            this.auth_time = auth_time;
        }

        public String getHeadportrait() {
            return headportrait;
        }

        public void setHeadportrait(String headportrait) {
            this.headportrait = headportrait;
        }
    }
}
